# $Id: PKGBUILD 66007 2012-02-22 14:20:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-graphics-colornames-www
pkgver=1.13
pkgrel=2
pkgdesc="Perl/CPAN Module Graphics::ColorNames::WWW"
arch=("any")
url="http://search.cpan.org/dist/Graphics-ColorNames-WWW"
license=("GPL" "Artistic")
makedepends=("perl-graphics-colornames")
depends=("perl-graphics-colornames")
source=("http://www.cpan.org/authors/id/C/CF/CFAERBER/Graphics-ColorNames-WWW-$pkgver.tar.gz")
md5sums=('c518859fd8797927481e2318bff362e0')

build() {
  cd $srcdir/Graphics-ColorNames-WWW-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
